﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    /// <summary>
    /// (基本)收入标准
    /// </summary>
    public interface ISalaryService
    {
        Task<int> AddSalaryAsync(decimal salary,int jobId);
        Task<int> EditSalaryAsync(int id, decimal salary, int jobId);
        Task<int> DeleteSalaryAsync(int id);
        Task<List<SalaryDto>> QuerySalaryAllAsync();
        Task<SalaryDto> QuerySalaryByIdAsync(int id);
        //Task<List<SalaryDto>> GetSalaryByNameAsync(string title);
    }
}
